else
{
/* Bring children up to size first */
- size = gtk_distribute_natural_allocation (size, nvis_children, sizes);
+ size = gtk_distribute_natural_allocation (MAX (0, size), nvis_children, sizes);
/* Calculate space which hasn't distributed yet,
* and is available for expanding children.
else
{
/* Bring children up to size first */
- size = gtk_distribute_natural_allocation (size, nvis_children, sizes);
+ size = gtk_distribute_natural_allocation (MAX (0, size), nvis_children, sizes);
/* Calculate space which hasn't distributed yet,
* and is available for expanding children.